const http = require('../request/request')
/**
 * @name getHtmlDeatil
 * @description 获取详情页面文档结构 支持GET方法
 * 
 * 
*/
exports.getHtmlDeatil = (path) => {
    return new Promise(async (resolve, reject) => {
        try {
            let _html = await http.get(path)
            resolve(_html)
        } catch (err) {
            // console.log('errr',err);
            reject(err)
        }
    })
}